package com.pm.megapinhata.client.view.middle;


import com.pm.megapinhata.client.AppController;
import com.pm.megapinhata.client.view.models.LayoutAbstractMiddleView;
import com.smartgwt.client.types.Alignment;
import com.smartgwt.client.widgets.Label;
import com.smartgwt.client.widgets.layout.Layout;
import com.smartgwt.client.widgets.layout.VLayout;

public class InicialView implements LayoutAbstractMiddleView<Layout> {

	private VLayout vLayout = new VLayout();
	
	public void mountComponentView() {
		Label label = new Label(AppController.messages.homeMessage());
		vLayout.setAlign(Alignment.CENTER);
		vLayout.addMember(label);
	}

	public Layout getLayoutMiddleView() {
		return vLayout;
	}

	
}
